import type { IList, IResult } from "@/types/common";
import { getAxios } from "@/utils/request.js";
/* 金币管理信息地址*/
const url = "/back/gold-coin";
/*红包管理数据：获取金币 信息 */
export const getGoldInfo = <T, D>(params?: D): Promise<IResult<IList<T>>> => {
  return getAxios<IList<T>, D>(url, params);
};
